<#import "/spring.ftl" as spring/>
<#list specimenProductions as specimenProduction>
<tr>
    <td><p class="tab-No">${(pageNo -1) * pageSize + specimenProduction_index+1}</p></td>
    <td><p class="width-180px linkBox" onclick="toCreateImage(${specimenProduction_index})">${specimenProduction.sampleRequestNo!}</p></td>
    <td><p class="width-80px">
        <#if specimenProduction.uploadFile?exists&specimenProduction.uploadFile!=''>  
		<img src='${specimenProduction.uploadFile}' class="" style="width: 80px;height: 80px;" onclick="javascript:window.open(this.src)">
		<#else>  
		<img src='/ls-erp/static/images/pic-none.jpg' class="" style="width: 80px;height: 80px;">
		</#if>
    </p></td>
    <td><p class="width-200px">${specimenProduction.styleNo!}<br>${specimenProduction.styleNameCn!}</p></td>
    <td><P class="width-100px">${dict.getDictName(specimenProduction.styleCateGoryCd)}</P></td>
    <td><p class="width-100px">${dict.getDictName(specimenProduction.sampleType)}</p></td>
    <td><p class="width-80px">${dict.getDictName(specimenProduction.sampleSize)}</p></td>
    <td><p class="width-100px"><#if specimenProduction.samplePlanDueDate??>${(specimenProduction.samplePlanDueDate)?string("yyyy-MM-dd")}</#if></p></td>
    <td><p class="width-100px"><#if specimenProduction.sampleaAtualDueDate??>${(specimenProduction.sampleaAtualDueDate)?string("yyyy-MM-dd")}</#if></p></td>
    <td><p class="width-80px">${specimenProduction.sampleQuantity!}</p></td>
    <td><p class="width-80px">${specimenProduction.sampleReworkNum!}</p></td>
    <td><p class="width-100px textRight">
        <#if specimenProduction.sampleCost??>${specimenProduction.sampleCost?string('#,##0.00#')}
        <#else>
        -
        </#if>
    </p></td>
    <td><p class="width-100px"><#if specimenProduction.templateEndDate??>${(specimenProduction.templateEndDate)?string("yyyy-MM-dd")}</#if></p></td>
    <td><p class="width-100px">${specimenProduction.templateUserName!}</p></td>
    <td><p class="width-100px"><#if specimenProduction.sampleEndDate??>${(specimenProduction.sampleEndDate)?string("yyyy-MM-dd")}</#if></p></td>
    <td><p class="width-100px">${specimenProduction.sampleUserName!}</p></td>
    <td><p class="width-80px linkBox" onclick="popup('900px','584px','${adminUri}/specimen/production/show?id=${specimenProduction.id!}')"><@spring.message "set_jindu"/></p></td>
    <input class = "styleID" type ="hidden" value="${specimenProduction.styleId!}">
    <input class = "customerStyleNo" type ="hidden" value="${specimenProduction.styleNo!}">
    <input class = "styleNameCn" type ="hidden" value="${specimenProduction.styleNameCn!}">
    <input class = "styleColor" type ="hidden" value="${specimenProduction.styleColor!}">
    <input class = "styleYear" type ="hidden" value="${specimenProduction.styleYear!}">
    <input class = "styleStyleGroupCd" type ="hidden" value="${specimenProduction.styleStyleGroupCd!}">
    <input class = "styleTemp" type ="hidden" value="${specimenProduction.styleTemp!}">
    <input class = "styleOgnizaitonTemp" type ="hidden" value="${specimenProduction.styleOgnizaitonTemp!}">
    <input class = "styleRemark" type ="hidden" value="${specimenProduction.styleRemark!}">
    <input class = "uploadFile" type ="hidden" value="${specimenProduction.uploadFile!}">
    <input class = "styleTempSeason" type ="hidden" value="${specimenProduction.styleTempSeason!}">
    <input class = "sampleId" type ="hidden" value="${specimenProduction.sampleId!}">
</tr>
</#list>